package com.rxh.service;

import com.rxh.pojo.base.Page;
import com.rxh.pojo.base.PageResult;
import com.rxh.pojo.merchant.MerchantQuestionWithBLOBs;
import com.rxh.pojo.sys.SysArea;
import com.rxh.pojo.sys.SysLog;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 陈俊雄
 * Date: 2018/5/3
 * Time: 17:24
 * Project: Management
 * Package: com.rxh.service
 */
public interface SystemService {
    void saveSystemLog(SysLog log);

    PageResult getSystemLog(Page page);

    List<SysArea> getAreaInfoByCountryCode(String countryCode);

    Map<String, Object> getMerchantOpinionInit(Integer merchantId);

    PageResult getMerchantQuestionBySearchInfo(Page page);

    Boolean addMerchantQuestion(MerchantQuestionWithBLOBs merchantQuestionWithBLOBs, Integer merchantId);

    Boolean updateMerchantQuestion(MerchantQuestionWithBLOBs merchantQuestionWithBLOBs);
}
